<ion-view  view-title="收货地址" class="banklist addressList">
	<ion-nav-bar ng-class="baseclass">
		<ion-nav-back-button></ion-nav-back-button>
	</ion-nav-bar>
	 
	<!--描述：滑动块-->
	<ion-content class="has-header has-footer bg">
		<ion-refresher pulling-text="下拉刷新..." on-refresh="doRefresh()"></ion-refresher>
        <div class="list">
        	<li class="item noData" ng-if="firstHide&&!datas.addr">
				<img src="./img/guilin/other/no-add@2x.png" />
				<div class="tip">还没有收货地址</div>
				<div class="smallTip">赶快添加吧！</div>
			</li>
        	<!--<div ng-repeat="i in [1,2,3,4,5,6,7,8,]">-->
	      	<li class="item addressItem" ng-repeat-start="data in datas.addr" on-tap="onshow_addressadd(data.addr_id)">
	      		<div class="userDiv">
	      			{{data.name}}
	      			<span class="right-zhang">{{data.mobile}}</span>
	      		</div>
	      		<div class="addressDiv">{{data.addr}}</div>
	      	</li>
	      	<li class="item btnItem" ng-repeat-end="">
				<img src="{{data.def_addr?'./img/guilin/common/icon_checked_r@2x.png':'./img/guilin/common/icon_uncheck_r@2x.png'}}" on-tap="default_address(data.addr_id)"/>
				默认地址
				<div class="basebtn del" on-tap="delete_address(data.addr_id)">删除</div>
				<div class="basebtn edit" on-tap="onshow_addressadd(data.addr_id)">编辑</div>
			</li>
			<!--</div>-->
      	</div>
      	<ion-infinite-scroll ng-if="!isLoad&&datas.page.count>datas.addr.length" immediate-check="false" on-infinite="doRefreshMore()" distance="1%"></ion-infinite-scroll>
	</ion-content>
	
	<div class="bar bar-footer">
		<div class="addBtn" on-tap="onshow_addressadd()">添加地址</div>
	</div>
</ion-view>